package com.brillilab.domain.po.method;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author wuzhiyu
 * @Title: Method
 * @ProjectName brill_lab
 * @Description: TODO
 * @date 2019/2/219:24
 */
@Data
@TableName("method")
public class Method {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Long methodTypeId;
    //作者
    private String author;
    //来源链接
    private String link;
    private String description;
    private Long userId;
    //原始方法id
    private Long sourceMethodId;
    //来源类型（0导入1推荐2新建3成员分享）
    private Integer fromType;
    //个人初始第一版方法id 导入=导入后保存的第一版 推荐=接受时保存的第一版
    private Long initMethodId;
    //推荐方法id
    private Long recommendMethodId;
    private Integer version;
    private Integer exportCount;
    private Integer successCount;
    //是否是当前
    private Integer current;
    private Integer isDelete;
    //推荐分享接受时间
    private Date importTime;
    //推荐实验室，分享人名字
    private String sourceName;
    //推荐时间，分享时间
    private Date fromTime;
    private Date createTime;
    private Date updateTime;
    private Integer onStock;
    //是否是普通参考方法（非试剂关联参考方法）
    private Integer isCommon;
}
